package org.jeecg.modules.zonglzp.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.zonglzp.entity.RepairEntity;
import org.springframework.stereotype.Component;

@Component
public interface RepairMapper {

    //新增返修
    int addrepair(RepairEntity entity);


    //查询返修
    IPage<RepairEntity> getrepairlist(Page<RepairEntity> page, @Param("userid") String userid, @Param("today") String today, @Param("orderId") String orderId, @Param("type") int type, @Param("status") int status);
   //根据快递id查询快递名称
    String getcourierNamebyId(@Param("id") int id);
}
